package com.text.day3_2;

import java.util.ArrayList;
import java.util.Collection;

public class Text {
    public static void main(String[] args) {
//        Integer a = 1;
//        Integer b = 12;
//        System.out.println(a + b);
        Collection coll = new ArrayList();
        coll.add("nihao");
        coll.add("shijie");
        Collection coll1 = new ArrayList();
        coll1.add("nihao");
        coll1.add("shijie");
        coll1.add("shijie");
        coll1.add("shijie");

        System.out.println(coll1.containsAll(coll));
        System.out.println(coll1);
        System.out.println(coll);
    }
}
